package algorithms;

import ClassPack.Class;

public class IheritingClassGrader implements ClassGrader {

	@Override
	public double Grade(Class a, Class b) {
		if (a.getM_inhereted_interfaces().size() !=0)
			if (a.getM_inhereted_interfaces().size() 
					== b.getM_inhereted_interfaces().size()){
				return 20;
			}
		return 0;
	}

}
